package com.itheima.controller;

import org.springframework.stereotype.Controller;

@Controller
public class Code {
    public final static Integer SAVE_OK = 20011;
    public final static Integer DELETE_OK = 20021;
    public final static Integer UPDATE_OK = 20031;
    public final static Integer GET_OK = 20041;
    public final static Integer SAVE_ERROR = 20010;
    public final static Integer DELETE_ERROR = 20020;
    public final static Integer UPDATE_ERROR = 20030;
    public final static Integer GET_ERROR = 20040;
    public static final Integer SYSTEM_ERR = 50001;
    public static final Integer SYSTEM_TIMEOUT_ERR = 50002;
    public static final Integer SYSTEM_UNKNOW_ERR = 59999;
    public static final Integer BUSINESS_ERR = 60002;
}
